package com.cyy.info.service.impl;

import com.cyy.info.dao.InfoMapper;
import com.cyy.info.pojo.Info;
import com.cyy.info.service.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("infoService")
public class InfoServiceImpl implements InfoService {

    @Autowired
    private InfoMapper infoMapper;

    @Override
    public List<Info> findAll() {
        return infoMapper.findAll();
    }
}
